package model;

public class Country
{
	int countryID;

	String name;
	String tld;

	public Country()
	{

	}

	public Country(String name)
	{
		this.name = name;
	}

	public Country(String name, String tld) 
	{
		this.name = name;
		this.tld = tld;
	}

	public Country(int countryID, String name, String tld) 
	{
		this.countryID = countryID;
		this.name = name;
		this.tld = tld;
	}

	public int getCountryID() 
	{
		return countryID;
	}

	public void setCountryID(int countryID) 
	{
		this.countryID = countryID;
	}

	public String getName() 
	{
		return name;
	}

	public void setName(String name) 
	{
		this.name = name;
	}

	public String getTld() 
	{
		return tld;
	}

	public void setTld(String tld) 
	{
		this.tld = tld;
	}

	@Override
	public String toString()
	{
		return this.name;
	}
}